},
_ackMessages: function() {
- if (this._pendingMessages.length == 0)
- return;
-
// Don't clear our messages here, tp-glib will send a
// 'pending-message-removed' for each one.
- this._channel.ack_messages_async(this._pendingMessages, Lang.bind(this, function(src, result) {
- this._channel.ack_messages_finish(result);}));
+ this._channel.ack_all_pending_messages_async(Lang.bind(this, function(src, result) {
+ this._channel.ack_all_pending_messages_finish(result);}));
},
_summaryItemClicked: function(source, button) {